package JAVASE519;

public class BEAN519 {
    //属性
    private String name;
    private int age;
    String gender;
    public void setName(String n){
        name=n;
    }
    public String getName(){
        return name;
    }
    //age
    public void setAge(int n){
        age=n;
    }
    public int getAge(){
        return age;
    }
}
